package com.cgtong.android.bean;

import com.zhouyou.http.model.ApiResult;

/**
 * Created by Tinwai on 2017/10/27.
 */

public class VersionBean {

    private int code;
    private String msg;
    private Version data;


    public class Version {

        /**
         * id : 1
         * version : 100
         * versionName : 2.0.1
         * downloadUrl : http://121.41.62.98:9001/ehome/apk/ehome_V2.0.1_20171027_release.apk
         * description : 浦东E家园APP测试版本信息
         * forceIsUpdate : 0
         * versionTimeLine : 0
         * versionMark : 10000
         */

        private int id;
        private String version;
        private String versionName;
        private String downloadUrl;
        private String description;
        private String forceIsUpdate;
        private int versionTimeLine;
        private String versionMark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public String getDownloadUrl() {
            return downloadUrl;
        }

        public void setDownloadUrl(String downloadUrl) {
            this.downloadUrl = downloadUrl;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getForceIsUpdate() {
            return forceIsUpdate;
        }

        public void setForceIsUpdate(String forceIsUpdate) {
            this.forceIsUpdate = forceIsUpdate;
        }

        public int getVersionTimeLine() {
            return versionTimeLine;
        }

        public void setVersionTimeLine(int versionTimeLine) {
            this.versionTimeLine = versionTimeLine;
        }

        public String getVersionMark() {
            return versionMark;
        }

        public void setVersionMark(String versionMark) {
            this.versionMark = versionMark;
        }
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Version getData() {
        return data;
    }

    public void setData(Version data) {
        this.data = data;
    }
}
